projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb90da1
)
* character.c (string_count_byte8): Likewise.
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 8 Mar 2011 07:49:41 +0000
(23:49 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 8 Mar 2011 07:49:41 +0000
(23:49 -0800)
src/ChangeLog
patch
|
blob
|
history
src/character.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 2b894e9a511d966ab8cfbb718fff03317e3b273c..8102f455802a83650cdfc18565d4c70f690346f3 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-67,6
+67,7
@@
* category.c (hash_get_category_set): Remove unused local var.
(copy_category_table): Now static, since it's not used elsewhere.
+ * character.c (string_count_byte8): Likewise.
* ccl.c (CCL_WRITE_STRING, CCL_ENCODE_CHAR, Fccl_execute_on_string):
(Fregister_code_conversion_map): Rename locals to avoid shadowing.
diff --git
a/src/character.c
b/src/character.c
index 6f3312fec290233aea3b4baa195e2177e57f1f1d..fdaf22f04f877ddee19f6906160923a17be47242 100644
(file)
--- a/
src/character.c
+++ b/
src/character.c
@@
-786,7
+786,7
@@
str_to_unibyte (const unsigned char *src, unsigned char *dst, EMACS_INT chars, i
}
-EMACS_INT
+
static
EMACS_INT
string_count_byte8 (Lisp_Object string)
{
int multibyte = STRING_MULTIBYTE (string);